﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp;

namespace SMARTHOTEL.Cients
{
    /// <summary>
    /// 客户
    /// </summary>
    public class Cient : FullAuditedAggregateRoot<Guid>, ISoftDelete
    {
        /// <summary>
        /// 客户姓名
        /// </summary>
        public Guid CientId { get; set; }
        /// <summary>
        /// 身份等级
        /// </summary>
        public string Statushierarchy { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string Tags { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string CardNumber { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 可用余额
        /// </summary>
        public decimal Availablebalance { get; set; }
        /// <summary>
        /// 可用积分
        /// </summary>
        public int Availablepoints { get; set; }
        /// <summary>
        /// 累计消费金额
        /// </summary>
        public decimal Totalspent { get; set; }
        /// <summary>
        /// 累计消费次数
        /// </summary>
        public int Ordercount { get; set; }
        /// <summary>
        /// 累计退款金额
        /// </summary>
        public decimal Refundamount { get; set; }
        /// <summary>
        /// 累计维权次数
        /// </summary>
        public int Complaintcount { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }=false;
    }
}
